/**
 * @file 报表展示mock数据
 * @author caierwei(caierwei@baijia.com)
 * @date 2020-01-14
 */

const { mock } = require('mockjs');

const result2 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesOnePart_partOne_composite_1",
                    "unitName": "转化结果",
                    "config": {
                        "dimensionList": [
                            {
                                "dimensionId": "transformationCoursesOnePart_partOne_department ",
                                "dimensionName": "department ",
                                "dimensionCname": "学部"
                            }
                        ],
                        "measureList": [],
                        "compositeMeasureList": [
                            {
                                "compositeMeasureId": "transformationCoursesOnePart_partOne_conversion_rate",
                                "compositeMeasureName": "conversion_rate",
                                "compositeMeasureCname": "转化率"
                            }
                        ],
                        "drilling": 0
                    },
                    "chart":{
                        "legend":{
                            "data":[
                                "净收入",
                                "转化率"
                            ]
                        },
                        "xAxis":[
                            {
                                "type":"category",
                                "data":[
                                    "小学",
                                    "初中",
                                    "高中",
                                ]
                            }
                        ],
                        "yAxis":[
                            {
                                "type":"value",
                                "name":"净收入"
                            },
                            {
                                "type":"value",
                                "name":"转化率"
                            }
                        ],
                        "series":[
                            {
                                "name":"净收入",
                                "type":"bar",
                                "data":[
                                    {
                                        "name":"小学",
                                        "value":"1855783"
                                    },
                                    {
                                        "name":"初中",
                                        "value":"411433"
                                    },
                                    {
                                        "name":"高中",
                                        "value":"206643"
                                    }
                                ]
                            },
                            {
                                "name":"转化率",
                                "type":"line",
                                "data":[
                                    {
                                        "name":"小学",
                                        "value":"0.0457"
                                    },
                                    {
                                        "name":"初中",
                                        "value":"0.0225"
                                    },
                                    {
                                        "name":"高中",
                                        "value":"0.0239"
                                    }
                                ]
                            }
                        ]
                    }
                },
                {
                    "unitId": "transformationCoursesOnePart_partTwo_composite_1",
                    "unitName": "流量效率",
                    "config": {
                        "dimensionList": [
                            {
                                "dimensionId": "transformationCoursesOnePart_partTwo_department ",
                                "dimensionName": "department ",
                                "dimensionCname": "学部"
                            }
                        ],
                        "measureList": [],
                        "compositeMeasureList": [],
                        "drilling": 0
                    },
                    "chart":{
                        "legend":{
                            "data":[
                                "CPA",
                                "ROI"
                            ]
                        },
                        "xAxis":[
                            {
                                "type":"category",
                                "data":[
                                    "小学",
                                    "初中",
                                    "高中",
                                ]
                            }
                        ],
                        "yAxis":[
                            {
                                "type":"value",
                                "name":"CPA"
                            },
                            {
                                "type":"value",
                                "name":"ROI"
                            }
                        ],
                        "series":[
                            {
                                "name":"CPA",
                                "type":"bar",
                                "data":[
                                    {
                                        "name":"小学",
                                        "value":"1783"
                                    },
                                    {
                                        "name":"初中",
                                        "value":"1433"
                                    },
                                    {
                                        "name":"高中",
                                        "value":"643"
                                    }
                                ]
                            },
                            {
                                "name":"ROI",
                                "type":"line",
                                "data":[
                                    {
                                        "name":"小学",
                                        "value":"0.47"
                                    },
                                    {
                                        "name":"初中",
                                        "value":"0.25"
                                    },
                                    {
                                        "name":"高中",
                                        "value":"0.29"
                                    }
                                ]
                            }
                        ]
                    }
                },
                {
                    "unitId": "transformationCoursesOnePart_partThree_composite_1",
                    "unitName": "扩科联报",
                    "config": {
                        "dimensionList": [
                            {
                                "dimensionId": "transformationCoursesOnePart_partThree_department ",
                                "dimensionName": "department ",
                                "dimensionCname": "学部"
                            }
                        ],
                        "measureList": [],
                        "compositeMeasureList": [
                            {
                                "compositeMeasureId": "transformationCoursesOnePart_partThree_average_season",
                                "compositeMeasureName": "average_season",
                                "compositeMeasureCname": "科均季节"
                            },
                            {
                                "compositeMeasureId": "transformationCoursesOnePart_partThree_subjects_per_capita",
                                "compositeMeasureName": "subjects_per_capita",
                                "compositeMeasureCname": "人均科目"
                            },
                            {
                                "compositeMeasureId": "transformationCoursesOnePart_partThree_ARPU",
                                "compositeMeasureName": "ARPU",
                                "compositeMeasureCname": "ARPU"
                            }
                        ],
                        "drilling": 0
                    },
                    "chart": {
                        "legend": {
                            "data": [
                                "科均季节",
                                "人均科目",
                                "ARPU"
                            ]
                        },
                        "xAxis": [
                            {
                                "type": "category",
                                "data": [
                                    "小学",
                                    "初中",
                                    "高中"
                                ]
                            }
                        ],
                        "yAxis": [
                            {
                                "type": "value",
                                "name": "人均科目/科均季节"
                            },
                            {
                                "type": "value",
                                "name": "ARPU"
                            }
                        ],
                        "series": [
                            {
                                "name": "科均季节",
                                "type": "line",
                                "data": [
                                    {
                                        "name": "小学",
                                        "value": "1624.3722"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "1924.3722"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "1723.522"
                                    }
                                ]
                            },
                            {
                                "name": "人均科目",
                                "type": "bar",
                                "data": [
                                    {
                                        "name": "小学",
                                        "value": "3.2348"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "2.0949"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "1.2348"
                                    }
                                ]
                            },
                            {
                                "name": "ARPU",
                                "type": "bar",
                                "data": [
                                    {
                                        "name": "小学",
                                        "value": "1.4362"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "2.4362"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "3.121"
                                    }
                                ]
                            }
                        ]
                    }
                },
                {
                    "unitId": "transformationCoursesOnePart_partFour_composite_1",
                    "unitName": "人员效率",
                    "config": {
                        "dimensionList": [
                            {
                                "dimensionId": "transformationCoursesOnePart_partFour_department ",
                                "dimensionName": "department ",
                                "dimensionCname": "学部"
                            }
                        ],
                        "measureList": [],
                        "compositeMeasureList": [
                            {
                                "compositeMeasureId": "transformationCoursesOnePart_partFour_per_capita_shift_number",
                                "compositeMeasureName": "per_capita_shift_number",
                                "compositeMeasureCname": "人均带班量"
                            },
                            {
                                "compositeMeasureId": "transformationCoursesOnePart_partFour_per_capita_capacity",
                                "compositeMeasureName": "per_capita_capacity",
                                "compositeMeasureCname": "人均产能"
                            }
                        ],
                        "drilling": 0
                    },
                    "chart": {
                        "legend": {
                            "data": [
                                "人均带班量",
                                "人均产能"
                            ]
                        },
                        "xAxis": [
                            {
                                "type": "category",
                                "data": [
                                    "小学",
                                    "初中",
                                    "高中"
                                ]
                            }
                        ],
                        "yAxis": [
                            {
                                "type": "value",
                                "name": "人均产能"
                            },
                            {
                                "type": "value",
                                "name": "人均带班量"
                            }
                        ],
                        "series": [
                            {
                                "name": "人均带班量",
                                "type": "line",
                                "data": [
                                    {
                                        "name": "小学",
                                        "value": "180.647"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "210.6247"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "158.2613"
                                    }
                                ]
                            },
                            {
                                "name": "人均产能",
                                "type": "bar",
                                "data": [
                                    {
                                        "name": "小学",
                                        "value": "1613.7231"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "1713.7231"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "865.3271"
                                    }
                                ]
                            }
                        ]
                    }
                }
            ],
            "pieUnit": null,
            "textList": null,
            "picture": [
                {
                    "unitId": "transformationCoursesOnePart_partOne_picture_1",
                    "unitName": "第四张报表的图片",
                    "pictureUrl": "https://p.gsxcdn.com/959414267_7xtt5nmb.png"
                }
            ]
        }
    },
    "msg": "success",
    "pager": null
}

const result3 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesTwoPart_partOne_composite_1",
                    "unitName": "课前学情",
                    "config": {
                        "dimensionList": [
                            {
                                "dimensionId": "transformationCoursesTwoPart_partOne_department ",
                                "dimensionName": "department ",
                                "dimensionCname": "学部"
                            }
                        ],
                        "measureList": [
                            {
                                "measureId": "transformationCoursesTwoPart_partOne_last_current_users",
                                "measureName": "last_current_users",
                                "isValue": null,
                                "measureCname": "最新应出勤人数"
                            }
                        ],
                        "compositeMeasureList": [
                            {
                                "compositeMeasureId": "transformationCoursesTwoPart_partOne_pre_completion_rate",
                                "compositeMeasureName": "pre_completion_rate",
                                "compositeMeasureCname": "课前摸底测完成率"
                            },
                            {
                                "compositeMeasureId": "transformationCoursesTwoPart_partOne_1V6_participation_rate",
                                "compositeMeasureName": "1V6_participation_rate",
                                "compositeMeasureCname": "1V6参加率"
                            },
                            {
                                "compositeMeasureId": "transformationCoursesTwoPart_partOne_add_friend_rate",
                                "compositeMeasureName": "add_friend_rate",
                                "compositeMeasureCname": "加好友率"
                            }
                        ],
                        "drilling": 0
                    },
                    "chart": {
                        "legend": {
                            "data": [
                                "课前摸底测完成率",
                                "1V6参加率",
                                "加好友率",
                                "订单数"
                            ]
                        },
                        "xAxis": [
                            {
                                "type": "category",
                                "data": [
                                    "初中",
                                    "小学系统班",
                                    "小学专题课",
                                    "高中"
                                ]
                            }
                        ],
                        "yAxis": [
                            {
                                "type": "value",
                                "name": "订单数"
                            },
                            {
                                "type": "value",
                                "name": "课前摸底测完成率/1V6参加率/加好友率"
                            }
                        ],
                        "series": [
                            {
                                "name": "课前摸底测完成率",
                                "type": "line",
                                "data": [
                                    {
                                        "name": "初中",
                                        "value": "0.3687"
                                    },
                                    {
                                        "name": "小学系统班",
                                        "value": "0.4157"
                                    },
                                    {
                                        "name": "小学专题课",
                                        "value": "0.4165"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "0.0161"
                                    }
                                ]
                            },
                            {
                                "name": "1V6参加率",
                                "type": "line",
                                "data": [
                                    {
                                        "name": "高中",
                                        "value": "2.0E-4"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "0.0774"
                                    },
                                    {
                                        "name": "小学系统班",
                                        "value": "0.2495"
                                    }
                                ]
                            },
                            {
                                "name": "加好友率",
                                "type": "line",
                                "data": [
                                    {
                                        "name": "高中",
                                        "value": "0.3701"
                                    },
                                    {
                                        "name": "小学系统班",
                                        "value": "0.6775"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "0.6878"
                                    }
                                ]
                            },
                            {
                                "name": "订单数",
                                "type": "bar",
                                "data": [
                                    {
                                        "name": "初中",
                                        "value": "1072536"
                                    },
                                    {
                                        "name": "小学系统班",
                                        "value": "720229"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "800401"
                                    }
                                ]
                            }
                        ]
                    }
                }
            ],
            "pieUnit": null,
            "textList": [
                {
                    "unitId": "transformationCoursesTwoPart_partOne_text_1",
                    "unitName": "文本",
                    "textContent": "第四张报表part2部分的文字"
                }
            ],
            "picture": null,
            "excelList": null
        }
    },
    "msg": "success",
    "pager": null
}

const result4 = {
    "code": 0,
    "data": {
      "allUnitType": {
        "cardList": null,
        "lineUnit": null,
        "barUnit": null,
        "compositeUnit": [
          {
            "unitId": "transformationCoursesTwoPart_partTwo_composite_1",
            "unitName": "直播学情-小学系统班",
            "config": {
              "dimensionList": [
                {
                  "dimensionId": "transformationCoursesTwoPart_partTwo_clazz_lesson_index",
                  "dimensionName": "clazz_lesson_index",
                  "dimensionCname": "讲次-不含补充课节"
                }
              ],
              "measureList": [],
              "compositeMeasureList": [
                {
                  "compositeMeasureId": "transformationCoursesTwoPart_partTwo_effective_live_class_rate",
                  "compositeMeasureName": "effective_live_class_rate",
                  "compositeMeasureCname": "有效直播上课率"
                },
                {
                  "compositeMeasureId": "transformationCoursesTwoPart_partTwo_live_class_rate",
                  "compositeMeasureName": "live_class_rate",
                  "compositeMeasureCname": "直播上课率"
                },
                {
                  "compositeMeasureId": "transformationCoursesTwoPart_partTwo_average_live_class_hours",
                  "compositeMeasureName": "average_live_class_hours",
                  "compositeMeasureCname": "平均直播上课时长"
                }
              ],
              "drilling": 0
            },
            "chart": {
              "legend": {
                "data": [
                  "有效直播上课率",
                  "直播上课率",
                  "平均直播上课时长"
                ]
              },
              "xAxis": [
                {
                  "type": "category",
                  "data": [
                    "",
                    "1",
                    "2",
                    "3",
                    "4",
                    "5",
                    "6",
                    "7",
                    "8",
                    "9",
                    "10",
                    "11",
                    "12",
                    "13",
                    "14",
                    "15",
                    "16",
                    "17",
                    "18",
                    "19",
                    "20",
                    "21"
                  ]
                }
              ],
              "yAxis": [
                {
                  "type": "value",
                  "name": "平均直播上课时长"
                },
                {
                  "type": "value",
                  "name": "有效直播上课率/直播上课率"
                }
              ],
              "series": [
                {
                  "name": "有效直播上课率",
                  "type": "line",
                  "data": [
                    {
                      "name": "",
                      "value": "0.0"
                    },
                    {
                      "name": "1",
                      "value": "0.2534"
                    },
                    {
                      "name": "2",
                      "value": "0.1899"
                    },
                    {
                      "name": "3",
                      "value": "0.133"
                    },
                    {
                      "name": "4",
                      "value": "0.0802"
                    },
                    {
                      "name": "5",
                      "value": "0.0895"
                    },
                    {
                      "name": "6",
                      "value": "0.0657"
                    },
                    {
                      "name": "7",
                      "value": "0.0998"
                    },
                    {
                      "name": "8",
                      "value": "0.0"
                    },
                    {
                      "name": "9",
                      "value": "0.0"
                    },
                    {
                      "name": "10",
                      "value": "0.0"
                    },
                    {
                      "name": "11",
                      "value": "0.0"
                    },
                    {
                      "name": "12",
                      "value": "0.0"
                    },
                    {
                      "name": "13",
                      "value": "0.0"
                    },
                    {
                      "name": "14",
                      "value": "0.0"
                    },
                    {
                      "name": "15",
                      "value": "0.0"
                    },
                    {
                      "name": "16",
                      "value": "0.0"
                    },
                    {
                      "name": "17",
                      "value": "0.0"
                    },
                    {
                      "name": "18",
                      "value": "0.0"
                    },
                    {
                      "name": "19",
                      "value": "0.0"
                    },
                    {
                      "name": "20",
                      "value": "0.0"
                    },
                    {
                      "name": "21",
                      "value": "0.0"
                    }
                  ]
                },
                {
                  "name": "直播上课率",
                  "type": "line",
                  "data": [
                    {
                      "name": "",
                      "value": "0.0"
                    },
                    {
                      "name": "1",
                      "value": "0.5057"
                    },
                    {
                      "name": "2",
                      "value": "0.477"
                    },
                    {
                      "name": "3",
                      "value": "0.4409"
                    },
                    {
                      "name": "4",
                      "value": "0.3906"
                    },
                    {
                      "name": "5",
                      "value": "0.3476"
                    },
                    {
                      "name": "6",
                      "value": "0.3575"
                    },
                    {
                      "name": "7",
                      "value": "0.3189"
                    },
                    {
                      "name": "8",
                      "value": "0.0"
                    },
                    {
                      "name": "9",
                      "value": "0.0"
                    },
                    {
                      "name": "10",
                      "value": "0.0"
                    },
                    {
                      "name": "11",
                      "value": "0.0"
                    },
                    {
                      "name": "12",
                      "value": "0.0"
                    },
                    {
                      "name": "13",
                      "value": "0.0"
                    },
                    {
                      "name": "14",
                      "value": "0.0"
                    },
                    {
                      "name": "15",
                      "value": "0.0"
                    },
                    {
                      "name": "16",
                      "value": "0.0"
                    },
                    {
                      "name": "17",
                      "value": "0.0"
                    },
                    {
                      "name": "18",
                      "value": "0.0"
                    },
                    {
                      "name": "19",
                      "value": "0.0"
                    },
                    {
                      "name": "20",
                      "value": "0.0"
                    },
                    {
                      "name": "21",
                      "value": "0.0"
                    }
                  ]
                },
                {
                  "name": "平均直播上课时长",
                  "type": "bar",
                  "data": [
                    {
                      "name": "",
                      "value": "0.0"
                    },
                    {
                      "name": "1",
                      "value": "66.0193"
                    },
                    {
                      "name": "2",
                      "value": "69.8163"
                    },
                    {
                      "name": "3",
                      "value": "70.7048"
                    },
                    {
                      "name": "4",
                      "value": "73.9319"
                    },
                    {
                      "name": "5",
                      "value": "68.0009"
                    },
                    {
                      "name": "6",
                      "value": "72.215"
                    },
                    {
                      "name": "7",
                      "value": "68.2729"
                    },
                    {
                      "name": "8",
                      "value": "NaN"
                    },
                    {
                      "name": "9",
                      "value": "NaN"
                    },
                    {
                      "name": "10",
                      "value": "NaN"
                    },
                    {
                      "name": "11",
                      "value": "NaN"
                    },
                    {
                      "name": "12",
                      "value": "50.0"
                    },
                    {
                      "name": "13",
                      "value": "NaN"
                    },
                    {
                      "name": "14",
                      "value": "NaN"
                    },
                    {
                      "name": "15",
                      "value": "NaN"
                    },
                    {
                      "name": "16",
                      "value": "NaN"
                    },
                    {
                      "name": "17",
                      "value": "NaN"
                    },
                    {
                      "name": "18",
                      "value": "NaN"
                    },
                    {
                      "name": "19",
                      "value": "NaN"
                    },
                    {
                      "name": "20",
                      "value": "NaN"
                    },
                    {
                      "name": "21",
                      "value": "NaN"
                    }
                  ]
                }
              ]
            }
          }
        ],
        "pieUnit": null,
        "textList": null,
        "picture": null,
        "simpleExcel": null,
        "excelList": null
      }
    },
    "msg": "success",
    "pager": null
}

const result5 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesTwoPart_partTwo_composite_2",
                    "unitName": "直播学情-初中",
                    "config": {
                      "dimensionList": [
                        {
                          "dimensionId": "transformationCoursesTwoPart_partTwo_clazz_lesson_index",
                          "dimensionName": "clazz_lesson_index",
                          "dimensionCname": "讲次-不含补充课节"
                        }
                      ],
                      "measureList": [],
                      "compositeMeasureList": [
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_effective_live_class_rate",
                          "compositeMeasureName": "effective_live_class_rate",
                          "compositeMeasureCname": "有效直播上课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_live_class_rate",
                          "compositeMeasureName": "live_class_rate",
                          "compositeMeasureCname": "直播上课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_average_live_class_hours",
                          "compositeMeasureName": "average_live_class_hours",
                          "compositeMeasureCname": "平均直播上课时长"
                        }
                      ],
                      "drilling": 0
                    },
                    "chart": {
                      "legend": {
                        "data": [
                          "有效直播上课率",
                          "直播上课率",
                          "平均直播上课时长"
                        ]
                      },
                      "xAxis": [
                        {
                          "type": "category",
                          "data": [
                            "",
                            "6",
                            "2",
                            "4",
                            "1",
                            "7",
                            "5",
                            "3"
                          ]
                        }
                      ],
                      "yAxis": [
                        {
                          "type": "value",
                          "name": "平均直播上课时长"
                        },
                        {
                          "type": "value",
                          "name": "有效直播上课率/直播上课率"
                        }
                      ],
                      "series": [
                        {
                          "name": "有效直播上课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "6",
                              "value": "0.1791"
                            },
                            {
                              "name": "2",
                              "value": "0.2009"
                            },
                            {
                              "name": "4",
                              "value": "0.2386"
                            },
                            {
                              "name": "1",
                              "value": "0.2572"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            },
                            {
                              "name": "5",
                              "value": "0.2294"
                            },
                            {
                              "name": "3",
                              "value": "0.127"
                            }
                          ]
                        },
                        {
                          "name": "直播上课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            },
                            {
                              "name": "4",
                              "value": "0.4583"
                            },
                            {
                              "name": "6",
                              "value": "0.3462"
                            },
                            {
                              "name": "2",
                              "value": "0.4225"
                            },
                            {
                              "name": "5",
                              "value": "0.4185"
                            },
                            {
                              "name": "1",
                              "value": "0.4659"
                            },
                            {
                              "name": "3",
                              "value": "0.3099"
                            }
                          ]
                        },
                        {
                          "name": "平均直播上课时长",
                          "type": "bar",
                          "data": [
                            {
                              "name": "4",
                              "value": "51.8361"
                            },
                            {
                              "name": "6",
                              "value": "42.2759"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "1",
                              "value": "52.2275"
                            },
                            {
                              "name": "3",
                              "value": "58.5539"
                            },
                            {
                              "name": "2",
                              "value": "58.9937"
                            },
                            {
                              "name": "5",
                              "value": "53.9599"
                            }
                          ]
                        }
                      ]
                    }
                }
            ],
            "pieUnit": null,
            "textList": null,
            "picture": null,
            "excelList": null
        }
    },
    "msg": "success",
    "pager": null
}

const result6 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesTwoPart_partTwo_composite_3",
                    "unitName": "直播学情-高中",
                    "config": {
                      "dimensionList": [
                        {
                          "dimensionId": "transformationCoursesTwoPart_partTwo_clazz_lesson_index",
                          "dimensionName": "clazz_lesson_index",
                          "dimensionCname": "讲次-不含补充课节"
                        }
                      ],
                      "measureList": [],
                      "compositeMeasureList": [
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_effective_live_class_rate",
                          "compositeMeasureName": "effective_live_class_rate",
                          "compositeMeasureCname": "有效直播上课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_live_class_rate",
                          "compositeMeasureName": "live_class_rate",
                          "compositeMeasureCname": "直播上课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_average_live_class_hours",
                          "compositeMeasureName": "average_live_class_hours",
                          "compositeMeasureCname": "平均直播上课时长"
                        }
                      ],
                      "drilling": 0
                    },
                    "chart": {
                      "legend": {
                        "data": [
                          "有效直播上课率",
                          "直播上课率",
                          "平均直播上课时长"
                        ]
                      },
                      "xAxis": [
                        {
                          "type": "category",
                          "data": [
                            "5",
                            "8",
                            "11",
                            "1",
                            "19",
                            "13",
                            "12",
                            "9",
                            "17",
                            "14",
                            "7",
                            "20",
                            "6",
                            "18",
                            "",
                            "4",
                            "3",
                            "15",
                            "10",
                            "2",
                            "16"
                          ]
                        }
                      ],
                      "yAxis": [
                        {
                          "type": "value",
                          "name": "平均直播上课时长"
                        },
                        {
                          "type": "value",
                          "name": "有效直播上课率/直播上课率"
                        }
                      ],
                      "series": [
                        {
                          "name": "有效直播上课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "5",
                              "value": "0.1797"
                            },
                            {
                              "name": "8",
                              "value": "0.1992"
                            },
                            {
                              "name": "11",
                              "value": "0.1753"
                            },
                            {
                              "name": "1",
                              "value": "0.1444"
                            },
                            {
                              "name": "19",
                              "value": "0.1474"
                            },
                            {
                              "name": "13",
                              "value": "0.1833"
                            },
                            {
                              "name": "12",
                              "value": "0.1514"
                            },
                            {
                              "name": "9",
                              "value": "0.1673"
                            },
                            {
                              "name": "17",
                              "value": "0.1195"
                            },
                            {
                              "name": "14",
                              "value": "0.1554"
                            },
                            {
                              "name": "7",
                              "value": "0.1554"
                            },
                            {
                              "name": "20",
                              "value": "0.1793"
                            },
                            {
                              "name": "6",
                              "value": "0.1793"
                            },
                            {
                              "name": "18",
                              "value": "0.1315"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "4",
                              "value": "0.0832"
                            },
                            {
                              "name": "3",
                              "value": "0.0973"
                            },
                            {
                              "name": "15",
                              "value": "0.1554"
                            },
                            {
                              "name": "10",
                              "value": "0.1706"
                            },
                            {
                              "name": "2",
                              "value": "0.1239"
                            },
                            {
                              "name": "16",
                              "value": "0.1554"
                            }
                          ]
                        },
                        {
                          "name": "直播上课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "18",
                              "value": "0.1793"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "20",
                              "value": "0.2311"
                            },
                            {
                              "name": "11",
                              "value": "0.239"
                            },
                            {
                              "name": "4",
                              "value": "0.1434"
                            },
                            {
                              "name": "2",
                              "value": "0.217"
                            },
                            {
                              "name": "19",
                              "value": "0.1793"
                            },
                            {
                              "name": "14",
                              "value": "0.1912"
                            },
                            {
                              "name": "7",
                              "value": "0.1992"
                            },
                            {
                              "name": "5",
                              "value": "0.2422"
                            },
                            {
                              "name": "10",
                              "value": "0.2579"
                            },
                            {
                              "name": "16",
                              "value": "0.2072"
                            },
                            {
                              "name": "12",
                              "value": "0.2191"
                            },
                            {
                              "name": "3",
                              "value": "0.1674"
                            },
                            {
                              "name": "1",
                              "value": "0.2535"
                            },
                            {
                              "name": "17",
                              "value": "0.1434"
                            },
                            {
                              "name": "6",
                              "value": "0.255"
                            },
                            {
                              "name": "13",
                              "value": "0.2231"
                            },
                            {
                              "name": "15",
                              "value": "0.2112"
                            },
                            {
                              "name": "8",
                              "value": "0.243"
                            },
                            {
                              "name": "9",
                              "value": "0.2231"
                            }
                          ]
                        },
                        {
                          "name": "平均直播上课时长",
                          "type": "bar",
                          "data": [
                            {
                              "name": "15",
                              "value": "74.6792"
                            },
                            {
                              "name": "4",
                              "value": "51.7233"
                            },
                            {
                              "name": "17",
                              "value": "94.9722"
                            },
                            {
                              "name": "14",
                              "value": "76.8542"
                            },
                            {
                              "name": "1",
                              "value": "52.4011"
                            },
                            {
                              "name": "11",
                              "value": "76.4167"
                            },
                            {
                              "name": "3",
                              "value": "52.4302"
                            },
                            {
                              "name": "13",
                              "value": "72.8393"
                            },
                            {
                              "name": "10",
                              "value": "64.3077"
                            },
                            {
                              "name": "5",
                              "value": "64.4516"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "7",
                              "value": "78.26"
                            },
                            {
                              "name": "19",
                              "value": "80.2889"
                            },
                            {
                              "name": "16",
                              "value": "76.2885"
                            },
                            {
                              "name": "20",
                              "value": "71.2241"
                            },
                            {
                              "name": "18",
                              "value": "70.3333"
                            },
                            {
                              "name": "9",
                              "value": "77.6607"
                            },
                            {
                              "name": "12",
                              "value": "74.9818"
                            },
                            {
                              "name": "6",
                              "value": "66.0781"
                            },
                            {
                              "name": "8",
                              "value": "73.9672"
                            },
                            {
                              "name": "2",
                              "value": "53.142"
                            }
                          ]
                        }
                      ]
                    }
                }
            ],
            "pieUnit": null,
            "textList": null,
            "picture": null,
            "excelList": null
        }
    },
    "msg": "success",
    "pager": null
}

const result7 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesTwoPart_partTwo_composite_4",
                    "unitName": "听课学情-小学系统班",
                    "config": {
                      "dimensionList": [
                        {
                          "dimensionId": "transformationCoursesTwoPart_partTwo_clazz_lesson_index",
                          "dimensionName": "clazz_lesson_index",
                          "dimensionCname": "讲次-不含补充课节"
                        }
                      ],
                      "measureList": [],
                      "compositeMeasureList": [
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_effective_attendance_rate",
                          "compositeMeasureName": "effective_attendance_rate",
                          "compositeMeasureCname": "有效听课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_attendance_rate",
                          "compositeMeasureName": "attendance_rate",
                          "compositeMeasureCname": "听课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_average_duration_listening",
                          "compositeMeasureName": "average_duration_listening",
                          "compositeMeasureCname": "平均去重听课时长"
                        }
                      ],
                      "drilling": 0
                    },
                    "chart": {
                      "legend": {
                        "data": [
                          "有效听课率",
                          "听课率",
                          "平均去重听课时长"
                        ]
                      },
                      "xAxis": [
                        {
                          "type": "category",
                          "data": [
                            "10",
                            "5",
                            "9",
                            "",
                            "8",
                            "6",
                            "7",
                            "1",
                            "4",
                            "2",
                            "3"
                          ]
                        }
                      ],
                      "yAxis": [
                        {
                          "type": "value",
                          "name": "平均去重听课时长"
                        },
                        {
                          "type": "value",
                          "name": "有效听课率/听课率"
                        }
                      ],
                      "series": [
                        {
                          "name": "有效听课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "10",
                              "value": "0.0"
                            },
                            {
                              "name": "5",
                              "value": "0.1243"
                            },
                            {
                              "name": "9",
                              "value": "0.0"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "8",
                              "value": "0.0"
                            },
                            {
                              "name": "6",
                              "value": "0.0"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            },
                            {
                              "name": "1",
                              "value": "0.258"
                            },
                            {
                              "name": "4",
                              "value": "0.1256"
                            },
                            {
                              "name": "2",
                              "value": "0.2097"
                            },
                            {
                              "name": "3",
                              "value": "0.167"
                            }
                          ]
                        },
                        {
                          "name": "听课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "8",
                              "value": "0.0"
                            },
                            {
                              "name": "2",
                              "value": "0.4943"
                            },
                            {
                              "name": "9",
                              "value": "0.0"
                            },
                            {
                              "name": "5",
                              "value": "0.3418"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            },
                            {
                              "name": "1",
                              "value": "0.5159"
                            },
                            {
                              "name": "6",
                              "value": "0.0"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "3",
                              "value": "0.4583"
                            },
                            {
                              "name": "4",
                              "value": "0.3816"
                            },
                            {
                              "name": "10",
                              "value": "0.0"
                            }
                          ]
                        },
                        {
                          "name": "平均去重听课时长",
                          "type": "bar",
                          "data": [
                            {
                              "name": "8",
                              "value": "0.0"
                            },
                            {
                              "name": "6",
                              "value": "0.0"
                            },
                            {
                              "name": "1",
                              "value": "61.7801"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "4",
                              "value": "65.3822"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            },
                            {
                              "name": "2",
                              "value": "69.0293"
                            },
                            {
                              "name": "10",
                              "value": "0.0"
                            },
                            {
                              "name": "5",
                              "value": "60.6757"
                            },
                            {
                              "name": "9",
                              "value": "0.0"
                            },
                            {
                              "name": "3",
                              "value": "68.1599"
                            }
                          ]
                        }
                      ]
                    }
                }
            ],
            "pieUnit": null,
            "textList": null,
            "picture": null,
            "excelList": null
        }
    },
    "msg": "success",
    "pager": null
}

const result8 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesTwoPart_partTwo_composite_5",
                    "unitName": "听课学情-初中",
                    "config": {
                      "dimensionList": [
                        {
                          "dimensionId": "transformationCoursesTwoPart_partTwo_clazz_lesson_index",
                          "dimensionName": "clazz_lesson_index",
                          "dimensionCname": "讲次-不含补充课节"
                        }
                      ],
                      "measureList": [],
                      "compositeMeasureList": [
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_effective_attendance_rate",
                          "compositeMeasureName": "effective_attendance_rate",
                          "compositeMeasureCname": "有效听课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_attendance_rate",
                          "compositeMeasureName": "attendance_rate",
                          "compositeMeasureCname": "听课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_average_duration_listening",
                          "compositeMeasureName": "average_duration_listening",
                          "compositeMeasureCname": "平均去重听课时长"
                        }
                      ],
                      "drilling": 0
                    },
                    "chart": {
                      "legend": {
                        "data": [
                          "有效听课率",
                          "听课率",
                          "平均去重听课时长"
                        ]
                      },
                      "xAxis": [
                        {
                          "type": "category",
                          "data": [
                            "",
                            "1",
                            "4",
                            "5",
                            "3",
                            "2",
                            "6",
                            "7"
                          ]
                        }
                      ],
                      "yAxis": [
                        {
                          "type": "value",
                          "name": "平均去重听课时长"
                        },
                        {
                          "type": "value",
                          "name": "有效听课率/听课率"
                        }
                      ],
                      "series": [
                        {
                          "name": "有效听课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "1",
                              "value": "0.327"
                            },
                            {
                              "name": "4",
                              "value": "0.3179"
                            },
                            {
                              "name": "5",
                              "value": "0.3064"
                            },
                            {
                              "name": "3",
                              "value": "0.1789"
                            },
                            {
                              "name": "2",
                              "value": "0.3051"
                            },
                            {
                              "name": "6",
                              "value": "0.2957"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            }
                          ]
                        },
                        {
                          "name": "听课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "4",
                              "value": "0.4811"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "3",
                              "value": "0.3416"
                            },
                            {
                              "name": "5",
                              "value": "0.4366"
                            },
                            {
                              "name": "1",
                              "value": "0.5044"
                            },
                            {
                              "name": "2",
                              "value": "0.4501"
                            },
                            {
                              "name": "6",
                              "value": "0.3524"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            }
                          ]
                        },
                        {
                          "name": "平均去重听课时长",
                          "type": "bar",
                          "data": [
                            {
                              "name": "3",
                              "value": "57.0834"
                            },
                            {
                              "name": "5",
                              "value": "53.3639"
                            },
                            {
                              "name": "2",
                              "value": "58.5063"
                            },
                            {
                              "name": "1",
                              "value": "51.4054"
                            },
                            {
                              "name": "4",
                              "value": "51.134"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "7",
                              "value": "0.0"
                            },
                            {
                              "name": "6",
                              "value": "42.0224"
                            }
                          ]
                        }
                      ]
                    }
                }
            ],
            "pieUnit": null,
            "textList": null,
            "picture": null,
            "excelList": null
        }
    },
    "msg": "success",
    "pager": null
}

const result9 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesTwoPart_partTwo_composite_6",
                    "unitName": "听课学情-高中",
                    "config": {
                      "dimensionList": [
                        {
                          "dimensionId": "transformationCoursesTwoPart_partTwo_clazz_lesson_index",
                          "dimensionName": "clazz_lesson_index",
                          "dimensionCname": "讲次-不含补充课节"
                        }
                      ],
                      "measureList": [],
                      "compositeMeasureList": [
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_effective_attendance_rate",
                          "compositeMeasureName": "effective_attendance_rate",
                          "compositeMeasureCname": "有效听课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_attendance_rate",
                          "compositeMeasureName": "attendance_rate",
                          "compositeMeasureCname": "听课率"
                        },
                        {
                          "compositeMeasureId": "transformationCoursesTwoPart_partTwo_average_duration_listening",
                          "compositeMeasureName": "average_duration_listening",
                          "compositeMeasureCname": "平均去重听课时长"
                        }
                      ],
                      "drilling": 0
                    },
                    "chart": {
                      "legend": {
                        "data": [
                          "有效听课率",
                          "听课率",
                          "平均去重听课时长"
                        ]
                      },
                      "xAxis": [
                        {
                          "type": "category",
                          "data": [
                            "7",
                            "2",
                            "16",
                            "3",
                            "9",
                            "19",
                            "15",
                            "20",
                            "5",
                            "17",
                            "10",
                            "13",
                            "6",
                            "4",
                            "",
                            "18",
                            "12",
                            "11",
                            "1",
                            "8",
                            "14"
                          ]
                        }
                      ],
                      "yAxis": [
                        {
                          "type": "value",
                          "name": "平均去重听课时长"
                        },
                        {
                          "type": "value",
                          "name": "有效听课率/听课率"
                        }
                      ],
                      "series": [
                        {
                          "name": "有效听课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "7",
                              "value": "0.1793"
                            },
                            {
                              "name": "2",
                              "value": "0.159"
                            },
                            {
                              "name": "16",
                              "value": "0.1952"
                            },
                            {
                              "name": "3",
                              "value": "0.1219"
                            },
                            {
                              "name": "9",
                              "value": "0.243"
                            },
                            {
                              "name": "19",
                              "value": "0.1633"
                            },
                            {
                              "name": "15",
                              "value": "0.1793"
                            },
                            {
                              "name": "20",
                              "value": "0.2032"
                            },
                            {
                              "name": "5",
                              "value": "0.2266"
                            },
                            {
                              "name": "17",
                              "value": "0.1355"
                            },
                            {
                              "name": "10",
                              "value": "0.2024"
                            },
                            {
                              "name": "13",
                              "value": "0.2231"
                            },
                            {
                              "name": "6",
                              "value": "0.2191"
                            },
                            {
                              "name": "4",
                              "value": "0.1032"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "18",
                              "value": "0.1554"
                            },
                            {
                              "name": "12",
                              "value": "0.1873"
                            },
                            {
                              "name": "11",
                              "value": "0.2112"
                            },
                            {
                              "name": "1",
                              "value": "0.1892"
                            },
                            {
                              "name": "8",
                              "value": "0.243"
                            },
                            {
                              "name": "14",
                              "value": "0.1912"
                            }
                          ]
                        },
                        {
                          "name": "听课率",
                          "type": "line",
                          "data": [
                            {
                              "name": "",
                              "value": "0.0"
                            },
                            {
                              "name": "16",
                              "value": "0.259"
                            },
                            {
                              "name": "18",
                              "value": "0.2191"
                            },
                            {
                              "name": "10",
                              "value": "0.3333"
                            },
                            {
                              "name": "11",
                              "value": "0.2988"
                            },
                            {
                              "name": "4",
                              "value": "0.1556"
                            },
                            {
                              "name": "9",
                              "value": "0.3267"
                            },
                            {
                              "name": "20",
                              "value": "0.2629"
                            },
                            {
                              "name": "3",
                              "value": "0.1817"
                            },
                            {
                              "name": "2",
                              "value": "0.2377"
                            },
                            {
                              "name": "5",
                              "value": "0.3359"
                            },
                            {
                              "name": "1",
                              "value": "0.2926"
                            },
                            {
                              "name": "6",
                              "value": "0.3466"
                            },
                            {
                              "name": "14",
                              "value": "0.251"
                            },
                            {
                              "name": "8",
                              "value": "0.3108"
                            },
                            {
                              "name": "17",
                              "value": "0.1833"
                            },
                            {
                              "name": "13",
                              "value": "0.2749"
                            },
                            {
                              "name": "7",
                              "value": "0.2709"
                            },
                            {
                              "name": "19",
                              "value": "0.1992"
                            },
                            {
                              "name": "12",
                              "value": "0.251"
                            },
                            {
                              "name": "15",
                              "value": "0.247"
                            }
                          ]
                        },
                        {
                          "name": "平均去重听课时长",
                          "type": "bar",
                          "data": [
                            {
                              "name": "20",
                              "value": "71.0909"
                            },
                            {
                              "name": "12",
                              "value": "74.8889"
                            },
                            {
                              "name": "14",
                              "value": "74.7619"
                            },
                            {
                              "name": "18",
                              "value": "66.9455"
                            },
                            {
                              "name": "6",
                              "value": "61.6667"
                            },
                            {
                              "name": "1",
                              "value": "51.7672"
                            },
                            {
                              "name": "5",
                              "value": "60.6744"
                            },
                            {
                              "name": "3",
                              "value": "51.5839"
                            },
                            {
                              "name": "4",
                              "value": "50.7424"
                            },
                            {
                              "name": "11",
                              "value": "72.7733"
                            },
                            {
                              "name": "9",
                              "value": "76.1707"
                            },
                            {
                              "name": "15",
                              "value": "73.4516"
                            },
                            {
                              "name": "7",
                              "value": "71.2647"
                            },
                            {
                              "name": "17",
                              "value": "83.9783"
                            },
                            {
                              "name": "13",
                              "value": "70.8116"
                            },
                            {
                              "name": "8",
                              "value": "70.7692"
                            },
                            {
                              "name": "10",
                              "value": "60.5595"
                            },
                            {
                              "name": "16",
                              "value": "73.9231"
                            },
                            {
                              "name": "19",
                              "value": "79.56"
                            },
                            {
                              "name": "2",
                              "value": "52.9558"
                            },
                            {
                              "name": "",
                              "value": "0.0"
                            }
                          ]
                        }
                      ]
                    }
                }
            ],
            "pieUnit": null,
            "textList": null,
            "picture": null,
            "excelList": null
        }
    },
    "msg": "success",
    "pager": null
}

const result10 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesThreePart_partOne_composite_1",
                    "unitName": "训练营转化",
                    "config": {
                        "dimensionList": [
                            {
                                "dimensionId": "transformationCoursesTwoPart_partOne_department ",
                                "dimensionName": "department ",
                                "dimensionCname": "学部"
                            }
                        ],
                        "measureList": [],
                        "compositeMeasureList": [],
                        "drilling": 0
                    },
                    "chart": {
                        "legend": {
                            "data": [
                                "核心群人数",
                                "群效",
                            ]
                        },
                        "xAxis": [
                            {
                                "type": "category",
                                "data": [
                                    "小学",
                                    "初中",
                                    "高中"
                                ]
                            }
                        ],
                        "yAxis": [
                            {
                                "type": "value",
                                "name": "核心群人数"
                            },
                            {
                                "type": "value",
                                "name": "群效"
                            }
                        ],
                        "series": [
                            {
                                "name": "核心群人数",
                                "type": "bar",
                                "data": [
                                    {
                                        "name": "小学",
                                        "value": "191294"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "291294"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "168390"
                                    }
                                ]
                            },
                            {
                                "name": "群效",
                                "type": "line",
                                "data": [
                                    {
                                        "name": "小学",
                                        "value": "21.99"
                                    },
                                    {
                                        "name": "初中",
                                        "value": "60.53"
                                    },
                                    {
                                        "name": "高中",
                                        "value": "25.4"
                                    }
                                ]
                            }
                        ]
                    }
                }
            ],
            "pieUnit": null,
            "textList": [
                {
                    "unitId": "transformationCoursesThreePart_partOne_text_1",
                    "unitName": "文本",
                    "textContent": "第四张报表part3部分的文字"
                }
            ],
            "picture": null,
            "excelList": null
        }
    },
    "msg": "success",
    "pager": null
}

const result11 = {
    "code": 0,
    "data": {
        "allUnitType": {
            "cardList": null,
            "lineUnit": null,
            "barUnit": null,
            "compositeUnit": [
                {
                    "unitId": "transformationCoursesFourPart_partOne_composite_1",
                    "unitName": "专题课转化",
                    "config": {
                        "dimensionList": [
                            {
                                "dimensionId": "transformationCoursesFourPart_partOne_teacher_name",
                                "dimensionName": "teacher_name",
                                "dimensionCname": "主讲"
                            }
                        ],
                        "measureList": [
                            {
                                "measureId": "transformationCoursesFourPart_partOne_student_count",
                                "measureName": "student_count",
                                "isValue": null,
                                "measureCname": "核心群人数"
                            }
                        ],
                        "compositeMeasureList": [
                            {
                                "compositeMeasureId": "transformationCoursesFourPart_partOne_group_effect",
                                "compositeMeasureName": "group_effect",
                                "compositeMeasureCname": "群效"
                            }
                        ],
                        "drilling": 0
                    },
                    "chart": {
                        "legend": {
                            "data": [
                                "群效",
                                "核心群人数"
                            ]
                        },
                        "xAxis": [
                            {
                                "type": "category",
                                "data": [
                                    "陈君",
                                    "钟琴",
                                    "王明欢",
                                    "张镇",
                                    "毛芸"
                                ]
                            }
                        ],
                        "yAxis": [
                            {
                                "type": "value",
                                "name": "核心群人数"
                            },
                            {
                                "type": "value",
                                "name": "群效"
                            }
                        ],
                        "series": [
                            {
                                "name": "群效",
                                "type": "line",
                                "data": [
                                    {
                                        "name": "陈君",
                                        "value": "243.57"
                                    },
                                    {
                                        "name": "钟琴",
                                        "value": "420.29"
                                    },
                                    {
                                        "name": "王明欢",
                                        "value": "320.53"
                                    },
                                    {
                                        "name": "张镇",
                                        "value": "168.74"
                                    },
                                    {
                                        "name": "毛芸",
                                        "value": "302.04"
                                    }
                                ]
                            },
                            {
                                "name": "核心群人数",
                                "type": "bar",
                                "data": [
                                    {
                                        "name": "王明欢",
                                        "value": "3000"
                                    },
                                    {
                                        "name": "陈君",
                                        "value": "4708"
                                    },
                                    {
                                        "name": "张镇",
                                        "value": "4318"
                                    },
                                    {
                                        "name": "钟琴",
                                        "value": "3453"
                                    },
                                    {
                                        "name": "毛芸",
                                        "value": "8063"
                                    }
                                ]
                            }
                        ]
                    }
                }
            ],
            "pieUnit": [
                {
                    "unitId": "transformationCoursesFourPart_partOne_pie_1",
                    "unitName": "销售维度收入结构",
                    "config": {
                        "dimensionList": [
                            {
                                "dimensionId": "transformationCoursesFourPart_partOne_teacher_name",
                                "dimensionName": "teacher_name",
                                "dimensionCname": "主讲"
                            }
                        ],
                        "measureList": [
                            {
                                "measureId": "transformationCoursesFourPart_partOne_transform_price",
                                "measureName": "transform_price",
                                "isValue": null,
                                "measureCname": "转化金额"
                            }
                        ],
                        "compositeMeasureList": [],
                        "drilling": 0
                    },
                    "chart": {
                        "legend": {
                            "data": [
                                "王明欢",
                                "钟琴",
                                "陈君",
                                "张镇",
                                "毛芸"
                            ]
                        },
                        "xAxis": [],
                        "yAxis": [],
                        "series": [
                            {
                                "name": null,
                                "type": "pie",
                                "data": [
                                    {
                                        "proportion": "0.1430",
                                        "name": "王明欢",
                                        "value": "961599"
                                    },
                                    {
                                        "proportion": "0.2158",
                                        "name": "钟琴",
                                        "value": "1451249"
                                    },
                                    {
                                        "proportion": "0.1706",
                                        "name": "陈君",
                                        "value": "1146734"
                                    },
                                    {
                                        "proportion": "0.1084",
                                        "name": "张镇",
                                        "value": "728614"
                                    },
                                    {
                                        "proportion": "0.3622",
                                        "name": "毛芸",
                                        "value": "2435335"
                                    }
                                ]
                            }
                        ]
                    }
                }
            ],
            "textList": null,
            "picture": null,
            "excelList": [
                {
                    "unitId": "transformationCoursesFourPart_partOne_excel_1",
                    "unitName": "专题课销售维度收入",
                    "columnList": [
                        {
                            "id": "transform_price",
                            "name": "转化金额"
                        },
                        {
                            "id": "teacher_name",
                            "name": "主讲"
                        }
                    ],
                    "value": [
                        {
                            "转化金额": "1451249",
                            "主讲": "钟琴"
                        },
                        {
                            "转化金额": "1146734",
                            "主讲": "陈君"
                        },
                        {
                            "转化金额": "728614",
                            "主讲": "张镇"
                        },
                        {
                            "转化金额": "2435335",
                            "主讲": "毛芸"
                        },
                        {
                            "转化金额": "961599",
                            "主讲": "王明欢"
                        },
                        {
                            "转化金额": "1451249",
                            "主讲": "钟琴"
                        },
                        {
                            "转化金额": "1146734",
                            "主讲": "陈君"
                        },
                        {
                            "转化金额": "728614",
                            "主讲": "张镇"
                        },
                        {
                            "转化金额": "2435335",
                            "主讲": "毛芸"
                        },
                        {
                            "转化金额": "961599",
                            "主讲": "王明欢"
                        }
                    ]
                },
                {
                    "unitId": "transformationCoursesFourPart_partTwo_excel_1",
                    "unitName": "专题课主讲维度收入",
                    "columnList": [
                        {
                            "id": "price",
                            "name": "支付金额"
                        },
                        {
                            "id": "teacher_number",
                            "name": "主讲"
                        }
                    ],
                    "value": [
                        {
                            "支付金额": "10534224",
                            "主讲": "曾曦"
                        },
                        {
                            "支付金额": "1975319",
                            "主讲": "钟琴"
                        },
                        {
                            "支付金额": "876578",
                            "主讲": "吴梅华"
                        },
                        {
                            "支付金额": "1848690",
                            "主讲": "陈君"
                        },
                        {
                            "支付金额": "2609372",
                            "主讲": "毛芸"
                        },
                        {
                            "支付金额": "9800",
                            "主讲": "陈龙娟"
                        },
                        {
                            "支付金额": "93247166",
                            "主讲": "Sam（鲍硕煜）"
                        },
                        {
                            "支付金额": "10988425",
                            "主讲": "褚帅"
                        },
                        {
                            "支付金额": "694825",
                            "主讲": "陈晓丹"
                        },
                        {
                            "支付金额": "1376857",
                            "主讲": "王国峰"
                        },
                        {
                            "支付金额": "985345",
                            "主讲": "陈晶晶"
                        },
                        {
                            "支付金额": "456135",
                            "主讲": "王明欢"
                        },
                        {
                            "支付金额": "1521796",
                            "主讲": "张镇"
                        },
                        {
                            "支付金额": "2650170",
                            "主讲": "刘淑贞"
                        }
                    ]
                }
            ]
        }
    },
    "msg": "success",
    "pager": null
}

module.exports = {
  'POST /api/transformationCourses/values': (req, res) => {
      if (req.body.part === 1) {
        return res.json(mock(result2));
      }
      if (req.body.part === 2) {
        return res.json(mock(result3));
      }
      if (req.body.part === 3) {
        return res.json(mock(result4));
      }
      if (req.body.part === 4) {
        return res.json(mock(result5));
      }
      if (req.body.part === 5) {
        return res.json(mock(result6));
      }
      if (req.body.part === 6) {
        return res.json(mock(result7));
      }
      if (req.body.part === 7) {
        return res.json(mock(result8));
      }
      if (req.body.part === 8) {
        return res.json(mock(result9));
      }
      if (req.body.part === 9) {
        return res.json(mock(result10));
      }
      if (req.body.part === 10) {
        return res.json(mock(result11));
      }
  },
  'POST /api/transformationCourses/select': mock(
    {
      'code': 0,
      'msg': null,
      'data': [
        'aaaa', 'bbbbb', 'cccc'
      ],
      'pager': {
        "pageNum": 1,
        "pageSize": 50,
        "count": 100,
      }
    }
  ),
  'POST /api/transformationCourses/download': mock({
    'code': 0,
    'msg': null,
    'data': null,
    'pager': {
      "pageNum": 1,
      "pageSize": 50,
      "count": 100
    }
  }),
  'POST /api/transformationCourses/detail':
  {"code":0,"data":{"columnList":[{"id":"count(*)","name":"订单量"},{"id":"first_classify_name","name":"渠道一级分类"}],"value":[{"订单量":"273402","渠道一级分类":"信息流"},{"订单量":"76972","渠道一级分类":"淘金"},{"订单量":"38653","渠道一级分类":"公众号"},{"订单量":"333127","渠道一级分类":"商务渠道"},{"订单量":"88407","渠道一级分类":"内部渠道"}]},"msg":"success","pager":null}
};
